﻿<Window x:Class="Automator.Windows.SaveChangesWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Automator" Height="270" Width="400" ResizeMode="NoResize" ShowInTaskbar="False"
        Background="{x:Static SystemColors.ControlBrush}"
        Loaded="Window_Loaded" WindowStartupLocation="CenterOwner">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="0" VerticalAlignment="Bottom" Margin="12,24,12,4" Text="Save changes to the following items?"/>
        <ListBox x:Name="lstChanged" Margin="12,0,12,8" Grid.Row="1" TabIndex="3">
            <ListBox.Style>
                <Style>
                    <Style.Resources>
                        <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="Transparent" />
                        <SolidColorBrush x:Key="{x:Static SystemColors.HighlightTextBrushKey}" Color="{x:Static SystemColors.WindowTextColor}" />
                    </Style.Resources>
                </Style>
            </ListBox.Style>
        </ListBox>
        <StackPanel
            Orientation="Horizontal"
            Grid.Row="2"
            HorizontalAlignment="Right" Margin="0,0,12,8">
            <Button
                Name="btnYes"
                Content="Yes"
                Padding="16,4,16,4"
                Margin="4" IsDefault="True" MinWidth="70" TabIndex="0"/>
            <Button
                Name="btnNo"
                Content="No"
                Padding="16,4,16,4"
                Margin="4" MinWidth="70" TabIndex="1"/>            
            <Button
                Name="btnCancel"
                Content="Cancel"
                Padding="16,4,16,4"
                Margin="4"
                IsCancel="True" MinWidth="70" TabIndex="2"/>
        </StackPanel>        
    </Grid>
</Window>
